package org.abacus.dbtojava.impl;

import org.abacus.dbtojava.BeanFactory;
import org.abacus.dbtojava.BeanFactoryProperties;
import org.abacus.dbtojava.Config;
import org.abacus.dbtojava.Jdbc;
import org.abacus.dbtojava.JdbcFactory;

public class MySQLJdbcFactory extends JdbcFactory {
	@Override
	public Jdbc createJdbc() {
		BeanFactory beanFactory = BeanFactoryProperties.getInstance(Config.DB_TO_JAVA);
		return beanFactory.createBean(Jdbc.class.getName(), Jdbc.class);
	}
}
